<template>
  <div>
    <div>

    
    <el-menu mode="vertical">
    <el-menu-item index="1">
      <router-link to="/vue">vue子应用 1</router-link>
    </el-menu-item>
    <el-menu-item index="2">
      <router-link to="/react">react子应用 2</router-link>
    </el-menu-item>
    <el-menu-item index="3">
      <router-link to="/static">子应用 3</router-link>
    </el-menu-item>
  </el-menu>
  <img alt="Vue logo" src="./assets/logo.png">
  </div>
  <div>
    <router-view v-show="$route.name"></router-view>
    <!-- <div  id="subapp-container"></div>  -->
  </div>
  <!-- <HelloWorld msg="Welcome to Your Vue.js App"/> -->
  
  </div>
  
</template>

<script>
import { ElMenu, ElMenuItem } from 'element-plus'
// import HelloWorld from './components/HelloWorld.vue'

export default {
  name: 'App',
  components: {
    ElMenu,
    ElMenuItem,
    // HelloWorld
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
